import request from '@/utils/request'

// 项目列表
export function lineInfoList(params) {
    return request({
      url: '/system/lineInfo/list',
      method: 'get',
      params
    })
  }

  export function lineInfoDetail(id) {
    return request({
      url: '/system/lineInfo/'+id,
      method: 'get',
    })
  }

  //   编辑
  export function editLineInfo(data) {
    return request({
      url: '/system/lineInfo',
      method: 'put',
      data
    })
  }

  // 新增
  export function addLineInfo(data) {
    return request({
      url: '/system/lineInfo',
      method: 'post',
      data
    })
  }


    // 删除
    export function deleteLineInfo(ids) {
      return request({
        url: '/system/lineInfo/'+ids,
        method: 'delete',
      })
    }
  